package com.example.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data //包含了get，set和toString
@AllArgsConstructor //有参构造器 set
@NoArgsConstructor  //无参构造器 get
public class UserBean {
    private String username;
    private String id;
    private String password;
    private String email;
    private String tel;
    private int level;// 新增字段
    private int exp;// 新增字段


    private Date createTime; // 新增字段
    private Date updateTime; // 新增字段
}